﻿using UnityEngine;

namespace Chemix
{
    /// <summary>
    /// BaseSlave is used to reveal a common interface for ease of control.
    /// </summary>
    public abstract class BaseSlave : MonoBehaviour
    {
        public virtual void ReceiveCommand()
        {
            if (Chemix.ShouldLog(LogLevel.Warning))
                Debug.LogFormat("BaseSlave: {0} doens't respond to command", this.name);
        }
    }
}